package com.bus.core.manager;

import com.bus.core.entity.BusUser;
import com.bus.core.entity.BusUserSite;

public interface BusUserSiteMng {
	public BusUserSite findById(Integer id);


	public BusUserSite update(BusUserSite bean);

	public void updateByUser(BusUser user, Integer siteId, Byte step,
			Boolean allChannel);

	public void updateByUser(BusUser user, Integer[] siteIds, Byte[] steps,
			Boolean[] allChannels);

	public int deleteBySiteId(Integer siteId);

	public BusUserSite deleteById(Integer id);

	public BusUserSite[] deleteByIds(Integer[] ids);
}